import java.io.Serializable;


public class Coordinates implements Serializable{
	public int x;
	public int y;
	
	Coordinates (int a, int b) {
		x=a;
		y=b;
	}
	
	public boolean equals(Coordinates coordinates){
		if (coordinates.x == this.x && coordinates.y == this.y)
			return true;
		else
			return false;
		
	}
	
	public String displayCoordinates (){
		
		String returnString="(" + this.x + "," + this.y + ")";
		return returnString;
		
	}
	
	public void CopyCoordinates (Coordinates source) {
		this.x = source.x;
		this.y = source.y;
	}
}
